-- GENERATED SPELL FOR [Death Knight] --


function spell0_29031(pUnit, Event) --@Plague Strike,n/a--
pUnit:FullCastSpellOnTarget(52373,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29031', 12000, 1)
end

function Sorts_29031(pUnit, Event)
local choix_sorts_29031 = math.random(0, 0)
if choix_sorts_29031 == 0 then
pUnit:RegisterEvent('spell0_29031', 1, 1)
end
end

function mob29031_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29031', math.random(1500, 3000), 1)
end

function mob29031_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29031_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29031_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29031, 1, 'mob29031_Action')
RegisterUnitEvent(29031, 2, 'mob29031_Leave')
RegisterUnitEvent(29031, 3, 'mob29031_Kill')
RegisterUnitEvent(29031, 4, 'mob29031_Die')
